package com.example.english.service.Impl;

import com.example.english.mapper.LoginMapper;
import com.example.english.pojo.Teacher;
import com.example.english.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginServiceImpl implements LoginService {

    @Autowired
    private LoginMapper loginMapper;

    /**
     *   教师登录
     */
    @Override
    public Teacher login(Teacher teacher) {
        return loginMapper.login(teacher);
    }
}
